← Back
Editing: index-legacy142.js
!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=Array(t);n<t;n++)l[n]=e[n];return l}System.register(["./base-lib-legacy.js?v=1765440387","./validator-legacy.js?v=1765440387","./utils-lib-legacy.js?v=1765440387","./__commonjsHelpers__-legacy.js?v=1765440387","./index-legacy94.js?v=1765440387","./column-legacy.js?v=1765440387"],function(t,n){"use strict";var l,r,s,a,o,c,i,u,m,f,d,v,y,g,p,b,S,A,_,j,x,h,k;return{setters:[function(e){l=e.c,r=e.s,s=e.a5,a=e.p,o=e.G,c=e.H,i=e.x,u=e.q,m=e.v,f=e.y,d=e.z,v=e.B,y=e.F,g=e.a$,p=e.K,b=e.e,S=e.P,A=e.A,_=e.b0,j=e.bQ,x=e.D},function(e){h=e.S},function(e){k=e.e},null,null,null],execute:function(){var n={class:"flex flex-col p-[2rem]"},C={class:"commentTitle"},P={class:"commentLeft"},w={class:"commentNum"},I={class:"commentNumTips"},B={class:"commentUserCount"},T={class:"commentPartake"},U={class:"commentRate"},V={class:"commentRight"},$={class:"commentStar"},z={class:"commentProgress"},D={class:"flex flex-col items-center"},F={class:"mt-[2rem]"};t("default",k(l({__name:"index",setup:function(t){var l=h(),k=l.getComment,G=l.getDetail,H=l.onSubmitScore,L=l.$reset_score,N=r(h()),R=N.loading,q=N.pluginScore,E=N.score;return s(L),a(G),function(t,l){var r=_,s=j,a=x,h=o("bt-loading");return c((u(),m("div",n,[f("div",C,[f("div",P,[f("div",w,d(i(q).avg||"0.0"),1),f("ul",I,[f("li",null,[l[1]||(l[1]=v(" 使用人数 ",-1)),f("span",B,d(i(q).count),1)]),f("li",null,[l[2]||(l[2]=v(" 共 ",-1)),f("span",T,d(i(q).total),1),l[3]||(l[3]=v(" 人参与评分 ",-1))]),f("li",null,[f("span",U,d(i(q).rate)+"%",1),l[4]||(l[4]=v(" 好评率 ",-1))])])]),f("div",V,[(u(),m(y,null,g(5,function(e){return f("div",{key:e,class:"commentStarGroup"},[f("div",$,[(u(!0),m(y,null,g(5-e+1,function(e){return u(),m("span",{key:e,class:"svgtofont-el-star-filled text-[#F6BA2A]","aria-hidden":"true"})}),128))]),f("div",z,[f("div",{class:"commentProgressBgw",style:p({width:"".concat(i(q).starList[e-1],"%")})},null,4),l[5]||(l[5]=f("div",{class:"commentProgressSpeed"},null,-1))])])}),64))])]),b(r,{class:"mt-[0rem] mb-[2rem]"}),f("div",D,[b(s,{class:"",modelValue:i(E),"onUpdate:modelValue":l[0]||(l[0]=function(e){return S(E)?E.value=e:null})},null,8,["modelValue"]),f("div",F,d(i(k)(i(E)))+":"+d(i(E))+"分",1),b(a,{type:"primary",class:"submit",size:"large",title:"参与评分",onClick:i(H)},{default:A(function(){return e(l[6]||(l[6]=[v("参与评分",-1)]))}),_:1},8,["onClick"])])])),[[h,i(R)],[h,"正在获取插件评分,请稍候...","title"]])}}}),[["__scopeId","data-v-8f66f13e"]]))}}})}();
Save File
Cancel